#include <iostream>
using namespace std;

class Ccuboid
{
	private :
		int length;
		int width;
		int height;

	public :
		Ccuboid(int l, int w, int h) :
			length(l), width(w), height(h)
		{
			cout << "init()" << endl;
		}

		int volume(int l, int w, int h)
		{
			int v = 0;

			v = l * w * h;

			return v;
		}

		void display()
		{
			cout << length << " , " << width << " , " << height << endl;
		}
	protected :
};

int main()
{
	Ccuboid notebook(4, 5, 6);
	Ccuboid canteen(10, 11, 12);
	Ccuboid building(50, 100, 200);

	int n, c, b;

	n = notebook.volume(4, 5, 6);
	c = canteen.volume(10, 11, 12);
	b = building.volume(50, 100, 200);

	notebook.display();
	cout << "Volume of notebook = " << n << endl << endl; 

	canteen.display();
	cout << "Volume of canteen = " << c << endl << endl; 

	building.display();
	cout << "Volume of building = " << b << endl << endl; 
}
